package cn.xiongxf.system.mapper;

import cn.xiongxf.system.domain.Role;
import cn.xiongxf.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiongxf
 * @since 2022-07-20
 */
public interface RoleMapper extends BaseMapper<Role> {

    void removeRoleMenusByRoleId(Long id);

    void removeRolePermissionsByRoleId(Long id);

    void removeEmployeesRoleByRoleId(Long id);

    void saveRoleMenus(Role role);

    void saveRolePermissions(Role role);
}
